get /cloudextensions/{cloudExtensionId}/allowedtasks
Lists allowed tasks (getSecurityGroups)
Lists allowed tasks considering Cloud Extension status.
Path parameters
cloudExtensionId (required)
Path Parameter — Cloud Extension ID
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Return type
array[TaskRestrictions]
allowedTasks (optional) |
array TaskType |
disallowedTasks (optional) |
String DisallowedTask |
Example data
Content-Type: application/json
{
"allowedTasks" : [ { }, { } ],
"disallowedTasks" : [ {,
"reason" : "reason",
"taskType" : null,
}, {
reason" : "reason",
reason" : "reason",
} ]
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
OK TaskRestrictions
OK
Default
Error ErrorInfo
errorCode (optional) |
String |
url(optional) |
String |
message (optional) |
String |